/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.user;

import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.modules.sys.entity.Area;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 用户管理Entity
 * @author 罗天文
 * @version 2018-06-15
 */
public class HkUser extends DataEntity<HkUser> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="名称", align=2, sort=20)
	private String name;		// 名称
	@ExcelField(title="手机号", align=2, sort=30)
	private String mobile;		// 手机号
	private String sex;		// 性别
	private String occupation;		// 职业
	private String age;		// 年龄
	private String state;		// 状态
	private String hobby;		// 爱好
	private String password;		// 密码
	private String integral;		// 积分
	private String type;		// 类型
	private String headImg;		// 头像
	private String introduction;		// 简介
	private String background;		// 背景
	private String address;		// 地址
	private String companyName;		// 公司名称
	private String tel;		// 电话
	private String introduce;		// 介绍
	private String level;		// 等级
	private String loginAddress;		// 登录地址
	private String education;		// 学历
	private Date loginTime;		// 登录时间
	private String workinglife;		// 工作年限
	private String birthday;		// 出生年月
	private Area located;		// 所在城市
	private String email;		// 邮箱
	private String nickname;		// 昵称
	private String height;		// 身高
	private String monthlyincome;		// 月收入
	private String domicile;		// 居住地
	private String marital;		// 婚姻状况
	private String constellation;		// 星座
	private String weight;		// 体重
	private String isenterpriserecruited;		// 招聘状态
	
	public HkUser() {
		super();
	}

	public HkUser(String id){
		super(id);
	}

	@Length(min=0, max=200, message="名称长度必须介于 0 和 200 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=20, message="手机号长度必须介于 0 和 20 之间")
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	
	@Length(min=0, max=1, message="性别长度必须介于 0 和 1 之间")
	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
	
	@Length(min=0, max=200, message="职业长度必须介于 0 和 200 之间")
	public String getOccupation() {
		return occupation;
	}

	public void setOccupation(String occupation) {
		this.occupation = occupation;
	}
	
	@Length(min=0, max=11, message="年龄长度必须介于 0 和 11 之间")
	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}
	
	@Length(min=0, max=32, message="状态长度必须介于 0 和 32 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	@Length(min=0, max=32, message="爱好长度必须介于 0 和 32 之间")
	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	
	@Length(min=0, max=64, message="密码长度必须介于 0 和 64 之间")
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	@Length(min=0, max=11, message="积分长度必须介于 0 和 11 之间")
	public String getIntegral() {
		return integral;
	}

	public void setIntegral(String integral) {
		this.integral = integral;
	}
	
	@Length(min=0, max=1, message="类型长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=200, message="头像长度必须介于 0 和 200 之间")
	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}
	
	@Length(min=0, max=100, message="简介长度必须介于 0 和 100 之间")
	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	
	@Length(min=0, max=100, message="背景长度必须介于 0 和 100 之间")
	public String getBackground() {
		return background;
	}

	public void setBackground(String background) {
		this.background = background;
	}
	
	@Length(min=0, max=100, message="地址长度必须介于 0 和 100 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
	@Length(min=0, max=100, message="公司名称长度必须介于 0 和 100 之间")
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	@Length(min=0, max=100, message="电话长度必须介于 0 和 100 之间")
	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}
	
	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}
	
	@Length(min=0, max=11, message="等级长度必须介于 0 和 11 之间")
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	@Length(min=0, max=200, message="登录地址长度必须介于 0 和 200 之间")
	public String getLoginAddress() {
		return loginAddress;
	}

	public void setLoginAddress(String loginAddress) {
		this.loginAddress = loginAddress;
	}
	
	@Length(min=0, max=200, message="学历长度必须介于 0 和 200 之间")
	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	
	@Length(min=0, max=200, message="工作年限长度必须介于 0 和 200 之间")
	public String getWorkinglife() {
		return workinglife;
	}

	public void setWorkinglife(String workinglife) {
		this.workinglife = workinglife;
	}
	
	@Length(min=0, max=200, message="出生年月长度必须介于 0 和 200 之间")
	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	
	public Area getLocated() {
		return located;
	}

	public void setLocated(Area located) {
		this.located = located;
	}
	
	@Length(min=0, max=200, message="邮箱长度必须介于 0 和 200 之间")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	@Length(min=0, max=200, message="昵称长度必须介于 0 和 200 之间")
	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	
	@Length(min=0, max=200, message="身高长度必须介于 0 和 200 之间")
	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}
	
	@Length(min=0, max=200, message="月收入长度必须介于 0 和 200 之间")
	public String getMonthlyincome() {
		return monthlyincome;
	}

	public void setMonthlyincome(String monthlyincome) {
		this.monthlyincome = monthlyincome;
	}
	
	@Length(min=0, max=200, message="居住地长度必须介于 0 和 200 之间")
	public String getDomicile() {
		return domicile;
	}

	public void setDomicile(String domicile) {
		this.domicile = domicile;
	}
	
	@Length(min=0, max=200, message="婚姻状况长度必须介于 0 和 200 之间")
	public String getMarital() {
		return marital;
	}

	public void setMarital(String marital) {
		this.marital = marital;
	}
	
	@Length(min=0, max=200, message="星座长度必须介于 0 和 200 之间")
	public String getConstellation() {
		return constellation;
	}

	public void setConstellation(String constellation) {
		this.constellation = constellation;
	}
	
	@Length(min=0, max=200, message="体重长度必须介于 0 和 200 之间")
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}
	
	@Length(min=0, max=200, message="招聘状态长度必须介于 0 和 200 之间")
	public String getIsenterpriserecruited() {
		return isenterpriserecruited;
	}

	public void setIsenterpriserecruited(String isenterpriserecruited) {
		this.isenterpriserecruited = isenterpriserecruited;
	}
	
}